const user = {
  state: {
    permissions: []
  },

  mutations: {

    SET_PERMISSIONS: (state, permissions) => {
      state.permissions = permissions
    }
  },

  actions: {
    SetPermissions({ commit }, value) {
      commit('SET_PERMISSIONS', value)
    }
  }
}

export default user
